package com.shopReduce.service;

import java.text.ParseException;
import java.util.List;

import org.apache.ibatis.annotations.SelectProvider;

import com.shopReduce.bean.ShopReduce;
import com.shopReduce.sql.ShopReduceBuilder;

import shopBean.common.bean.RestResult;

public interface IShopReduceService {

	
	public RestResult<ShopReduce> insert(ShopReduce shopReduce) throws ParseException;
	
	
	public RestResult deleteById(String id);
	
	public RestResult updateById(ShopReduce shopReduce);
	public long listCount(ShopReduce search);
	public List<ShopReduce> list(ShopReduce search);
	
	public ShopReduce get(String id);
}
